const app = getApp();
var verification = function(api, token) {
    var token = wx.getStorageSync('token');
    if (token.length != 0) {
        getswitchTab('/pages/index/index')
    }else{
        getswitchTab('/pages/login/login')
        console.log('1111')
    }
}

module.exports = {
    verification: verification
}